<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>nih: nih::Bvh_node Struct Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">nih
   &#160;<span id="projectnumber">0.5</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('structnih_1_1_bvh__node.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="#pub-static-attribs">Static Public Attributes</a>  </div>
  <div class="headertitle">
<div class="title">nih::Bvh_node Struct Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="nih::Bvh_node" -->
<p><code>#include &lt;<a class="el" href="bvh_8h_source.html">bvh.h</a>&gt;</code></p>

<p><a href="structnih_1_1_bvh__node-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac430632437ba9be16f431dd72b4a8c00"></a><!-- doxytag: member="nih::Bvh_node::Type" ref="ac430632437ba9be16f431dd72b4a8c00" args="" -->
typedef uint32&#160;</td><td class="memItemRight" valign="bottom"><b>Type</b></td></tr>
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">NIH_HOST NIH_DEVICE&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structnih_1_1_bvh__node.html#a9c5cc985a82d40aa2261f54f4dd6cb48">Bvh_node</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">NIH_HOST NIH_DEVICE&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structnih_1_1_bvh__node.html#a9e47e12cb0b74d5dab425d52728655dc">Bvh_node</a> (const Type type, const uint32 index, const uint32 skip_node)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">NIH_HOST NIH_DEVICE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structnih_1_1_bvh__node.html#ab09c9d3422fee1af8c59f71af6ecf64a">set_type</a> (const Type type)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">NIH_HOST NIH_DEVICE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structnih_1_1_bvh__node.html#a06c1cb6707abd1528279589bece1219b">set_index</a> (const uint32 index)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">NIH_HOST NIH_DEVICE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structnih_1_1_bvh__node.html#a43b2efd756d9247f3346514acb6b42ef">set_skip_node</a> (const uint32 index)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">NIH_HOST NIH_DEVICE bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structnih_1_1_bvh__node.html#aa05acdb24d7dcaa05c312f2c438b3222">is_leaf</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">NIH_HOST NIH_DEVICE uint32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structnih_1_1_bvh__node.html#a47f6279f9f1573509bd8432cbba838ba">get_index</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">NIH_HOST NIH_DEVICE uint32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structnih_1_1_bvh__node.html#abece4a67339eb87d77bcde89eddc99fd">get_leaf_index</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">NIH_HOST NIH_DEVICE uint32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structnih_1_1_bvh__node.html#ad38cb99e5f6fd655af6e8564d33ec13b">get_skip_node</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">NIH_HOST NIH_DEVICE uint32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structnih_1_1_bvh__node.html#a90bab612db7374f45473be06a157af25">get_child_count</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">NIH_HOST NIH_DEVICE uint32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structnih_1_1_bvh__node.html#aaafd54ee653c9dd8a30df95050db0d1f">get_child</a> (const uint32 i) const </td></tr>
<tr><td colspan="2"><h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static NIH_HOST NIH_DEVICE uint32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structnih_1_1_bvh__node.html#ac2b934af5e1eaf6ede62cdfbe787dd92">packed_data</a> (const Type type, const uint32 index)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static NIH_HOST NIH_DEVICE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structnih_1_1_bvh__node.html#a441932bfafb05c24dd7feaa01dde6eb9">set_type</a> (uint32 &amp;packed_data, const Type type)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static NIH_HOST NIH_DEVICE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structnih_1_1_bvh__node.html#abd1eb29c4623fc3de7879dc0eb5695c5">set_index</a> (uint32 &amp;packed_data, const uint32 index)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a42e670ea779959874780e3220a402214"></a><!-- doxytag: member="nih::Bvh_node::is_leaf" ref="a42e670ea779959874780e3220a402214" args="(const uint32 packed_data)" -->
static NIH_HOST NIH_DEVICE bool&#160;</td><td class="memItemRight" valign="bottom"><b>is_leaf</b> (const uint32 packed_data)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="accffa20e50a6076ceca639b7ad901218"></a><!-- doxytag: member="nih::Bvh_node::get_index" ref="accffa20e50a6076ceca639b7ad901218" args="(const uint32 packed_data)" -->
static NIH_HOST NIH_DEVICE uint32&#160;</td><td class="memItemRight" valign="bottom"><b>get_index</b> (const uint32 packed_data)</td></tr>
<tr><td colspan="2"><h2><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa6c1e279b4d20f76d4bc511e7a52e6d5"></a><!-- doxytag: member="nih::Bvh_node::m_packed_data" ref="aa6c1e279b4d20f76d4bc511e7a52e6d5" args="" -->
uint32&#160;</td><td class="memItemRight" valign="bottom"><b>m_packed_data</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2404bbfd713c958c6e20b282786bf999"></a><!-- doxytag: member="nih::Bvh_node::m_skip_node" ref="a2404bbfd713c958c6e20b282786bf999" args="" -->
uint32&#160;</td><td class="memItemRight" valign="bottom"><b>m_skip_node</b></td></tr>
<tr><td colspan="2"><h2><a name="pub-static-attribs"></a>
Static Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a889438f2fc6391772fe2e8023157e34e"></a><!-- doxytag: member="nih::Bvh_node::kLeaf" ref="a889438f2fc6391772fe2e8023157e34e" args="" -->
static const uint32&#160;</td><td class="memItemRight" valign="bottom"><b>kLeaf</b> = (1u &lt;&lt; 31u)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae8120e97f8f1a15f95af7a382d10f444"></a><!-- doxytag: member="nih::Bvh_node::kInternal" ref="ae8120e97f8f1a15f95af7a382d10f444" args="" -->
static const uint32&#160;</td><td class="memItemRight" valign="bottom"><b>kInternal</b> = 0x00000000u</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a80a999554f86a11a84130177ab202e15"></a><!-- doxytag: member="nih::Bvh_node::kInvalid" ref="a80a999554f86a11a84130177ab202e15" args="" -->
static const uint32&#160;</td><td class="memItemRight" valign="bottom"><b>kInvalid</b> = uint32(-1)</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p><a class="el" href="structnih_1_1_bvh.html">Bvh</a> node struct </p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a9c5cc985a82d40aa2261f54f4dd6cb48"></a><!-- doxytag: member="nih::Bvh_node::Bvh_node" ref="a9c5cc985a82d40aa2261f54f4dd6cb48" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">NIH_HOST NIH_DEVICE nih::Bvh_node::Bvh_node </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>empty constructor </p>

</div>
</div>
<a class="anchor" id="a9e47e12cb0b74d5dab425d52728655dc"></a><!-- doxytag: member="nih::Bvh_node::Bvh_node" ref="a9e47e12cb0b74d5dab425d52728655dc" args="(const Type type, const uint32 index, const uint32 skip_node)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">nih::Bvh_node::Bvh_node </td>
          <td>(</td>
          <td class="paramtype">const Type&#160;</td>
          <td class="paramname"><em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const uint32&#160;</td>
          <td class="paramname"><em>index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const uint32&#160;</td>
          <td class="paramname"><em>skip_node</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>full constructor</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">type</td><td>node type </td></tr>
    <tr><td class="paramname">index</td><td>child/leaf index </td></tr>
    <tr><td class="paramname">skip_node</td><td>skip node index </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="aaafd54ee653c9dd8a30df95050db0d1f"></a><!-- doxytag: member="nih::Bvh_node::get_child" ref="aaafd54ee653c9dd8a30df95050db0d1f" args="(const uint32 i) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">NIH_HOST NIH_DEVICE uint32 nih::Bvh_node::get_child </td>
          <td>(</td>
          <td class="paramtype">const uint32&#160;</td>
          <td class="paramname"><em>i</em></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>get i-th child</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">i</td><td>child index </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a90bab612db7374f45473be06a157af25"></a><!-- doxytag: member="nih::Bvh_node::get_child_count" ref="a90bab612db7374f45473be06a157af25" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">NIH_HOST NIH_DEVICE uint32 nih::Bvh_node::get_child_count </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>get child count </p>

</div>
</div>
<a class="anchor" id="a47f6279f9f1573509bd8432cbba838ba"></a><!-- doxytag: member="nih::Bvh_node::get_index" ref="a47f6279f9f1573509bd8432cbba838ba" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">NIH_HOST NIH_DEVICE uint32 nih::Bvh_node::get_index </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>get child/leaf index </p>

</div>
</div>
<a class="anchor" id="abece4a67339eb87d77bcde89eddc99fd"></a><!-- doxytag: member="nih::Bvh_node::get_leaf_index" ref="abece4a67339eb87d77bcde89eddc99fd" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">NIH_HOST NIH_DEVICE uint32 nih::Bvh_node::get_leaf_index </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>get leaf index </p>

</div>
</div>
<a class="anchor" id="ad38cb99e5f6fd655af6e8564d33ec13b"></a><!-- doxytag: member="nih::Bvh_node::get_skip_node" ref="ad38cb99e5f6fd655af6e8564d33ec13b" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">NIH_HOST NIH_DEVICE uint32 nih::Bvh_node::get_skip_node </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>get skip node index </p>

</div>
</div>
<a class="anchor" id="aa05acdb24d7dcaa05c312f2c438b3222"></a><!-- doxytag: member="nih::Bvh_node::is_leaf" ref="aa05acdb24d7dcaa05c312f2c438b3222" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">NIH_HOST NIH_DEVICE bool nih::Bvh_node::is_leaf </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>is a leaf? </p>

</div>
</div>
<a class="anchor" id="ac2b934af5e1eaf6ede62cdfbe787dd92"></a><!-- doxytag: member="nih::Bvh_node::packed_data" ref="ac2b934af5e1eaf6ede62cdfbe787dd92" args="(const Type type, const uint32 index)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static NIH_HOST NIH_DEVICE uint32 nih::Bvh_node::packed_data </td>
          <td>(</td>
          <td class="paramtype">const Type&#160;</td>
          <td class="paramname"><em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const uint32&#160;</td>
          <td class="paramname"><em>index</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>compute packed data</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">type</td><td>node type </td></tr>
    <tr><td class="paramname">index</td><td>child/leaf index </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a06c1cb6707abd1528279589bece1219b"></a><!-- doxytag: member="nih::Bvh_node::set_index" ref="a06c1cb6707abd1528279589bece1219b" args="(const uint32 index)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void nih::Bvh_node::set_index </td>
          <td>(</td>
          <td class="paramtype">const uint32&#160;</td>
          <td class="paramname"><em>index</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>set child/leaf index</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">index</td><td>child/leaf index </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="abd1eb29c4623fc3de7879dc0eb5695c5"></a><!-- doxytag: member="nih::Bvh_node::set_index" ref="abd1eb29c4623fc3de7879dc0eb5695c5" args="(uint32 &amp;packed_data, const uint32 index)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static NIH_HOST NIH_DEVICE void nih::Bvh_node::set_index </td>
          <td>(</td>
          <td class="paramtype">uint32 &amp;&#160;</td>
          <td class="paramname"><em>packed_data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const uint32&#160;</td>
          <td class="paramname"><em>index</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>set child/leaf index into a packed data</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">packed_data</td><td>packed data </td></tr>
    <tr><td class="paramname">index</td><td>child/leaf index </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a43b2efd756d9247f3346514acb6b42ef"></a><!-- doxytag: member="nih::Bvh_node::set_skip_node" ref="a43b2efd756d9247f3346514acb6b42ef" args="(const uint32 index)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void nih::Bvh_node::set_skip_node </td>
          <td>(</td>
          <td class="paramtype">const uint32&#160;</td>
          <td class="paramname"><em>index</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>set skip node index</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">index</td><td>skip node index </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ab09c9d3422fee1af8c59f71af6ecf64a"></a><!-- doxytag: member="nih::Bvh_node::set_type" ref="ab09c9d3422fee1af8c59f71af6ecf64a" args="(const Type type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void nih::Bvh_node::set_type </td>
          <td>(</td>
          <td class="paramtype">const Type&#160;</td>
          <td class="paramname"><em>type</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>set node type</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">type</td><td>node type </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a441932bfafb05c24dd7feaa01dde6eb9"></a><!-- doxytag: member="nih::Bvh_node::set_type" ref="a441932bfafb05c24dd7feaa01dde6eb9" args="(uint32 &amp;packed_data, const Type type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static NIH_HOST NIH_DEVICE void nih::Bvh_node::set_type </td>
          <td>(</td>
          <td class="paramtype">uint32 &amp;&#160;</td>
          <td class="paramname"><em>packed_data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Type&#160;</td>
          <td class="paramname"><em>type</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>set node type into a packed data</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">packed_data</td><td>packed data </td></tr>
    <tr><td class="paramname">type</td><td>node type </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/>The documentation for this struct was generated from the following files:<ul>
<li>bvh/<a class="el" href="bvh_8h_source.html">bvh.h</a></li>
<li>bvh/<a class="el" href="bvh__inline_8h_source.html">bvh_inline.h</a></li>
</ul>
</div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><b>nih</b>      </li>
      <li class="navelem"><a class="el" href="structnih_1_1_bvh__node.html">Bvh_node</a>      </li>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>


    <li class="footer">Generated on Thu Dec 15 2011 11:56:22 for nih by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.5.1 </li>
   </ul>
 </div>


</body>
</html>
